package com.example.jh352160.surfingtv.network.item;

import java.util.List;

/**
 * Created by jh352160 on 2016/8/10
 */

public class ThematicListItem {

    /**
     * code : 200
     * message : OK
     * data : {"offset":0,"limit":16,"total":1,"sortField":"lastUpdate","sortOrder":"DESC","items":[{"contentId":15448,"title":"夏天就该这么穿，仙女高街范儿！","summary":"美到哭的仙气","imageUrl":"http://app4tv.sudaotech.com/platform/image/1/20160727/589fe4bd-5c84-4f6c-a1d2-c23f5de86e35/","videoUrl":null,"body":"[{\"type\":\"image\",\"imageUrl\":\"http://app4tv.sudaotech.com/platform/image/1/20160725/90aee2d1-b9f3-4926-b573-c497c10537a4/\",\"displayOrder\":0,\"products\":[{\"productId\":15694,\"productName\":\"每个女生都有一个公主梦 城堡印花T恤满足你的公主心\",\"x\":\"54\",\"y\":\"34\",\"anchor\":\"T恤\",\"$$hashKey\":\"object:12352\"},{\"productId\":15671,\"productName\":\"一年四季都可穿 一件线衫打天下\",\"x\":\"73\",\"y\":\"67\",\"anchor\":\"线衫\",\"$$hashKey\":\"object:12518\"},{\"productId\":15649,\"productName\":\"刺绣牛仔裤 低调的奢华\",\"x\":\"79\",\"y\":\"84\",\"anchor\":\"牛仔裤\",\"$$hashKey\":\"object:12681\"},{\"productId\":15673,\"productName\":\"纯色衬衫 你不变的万能选择\",\"x\":\"53\",\"y\":\"69\",\"anchor\":\"衬衫\",\"$$hashKey\":\"object:12847\"}],\"$$hashKey\":\"object:666\"}]","contentCategory":null,"likeQuantity":0,"likeStatus":0,"contentStatus":1,"template":"1","favoriteCount":0,"favorite":0,"detailUrl":"http://app4tv.sudaotech.com/mobile/contentDetail.html?id=15448","productCount":5}]}
     */

    private String code;
    private String message;
    /**
     * offset : 0
     * limit : 16
     * total : 1
     * sortField : lastUpdate
     * sortOrder : DESC
     * items : [{"contentId":15448,"title":"夏天就该这么穿，仙女高街范儿！","summary":"美到哭的仙气","imageUrl":"http://app4tv.sudaotech.com/platform/image/1/20160727/589fe4bd-5c84-4f6c-a1d2-c23f5de86e35/","videoUrl":null,"body":"[{\"type\":\"image\",\"imageUrl\":\"http://app4tv.sudaotech.com/platform/image/1/20160725/90aee2d1-b9f3-4926-b573-c497c10537a4/\",\"displayOrder\":0,\"products\":[{\"productId\":15694,\"productName\":\"每个女生都有一个公主梦 城堡印花T恤满足你的公主心\",\"x\":\"54\",\"y\":\"34\",\"anchor\":\"T恤\",\"$$hashKey\":\"object:12352\"},{\"productId\":15671,\"productName\":\"一年四季都可穿 一件线衫打天下\",\"x\":\"73\",\"y\":\"67\",\"anchor\":\"线衫\",\"$$hashKey\":\"object:12518\"},{\"productId\":15649,\"productName\":\"刺绣牛仔裤 低调的奢华\",\"x\":\"79\",\"y\":\"84\",\"anchor\":\"牛仔裤\",\"$$hashKey\":\"object:12681\"},{\"productId\":15673,\"productName\":\"纯色衬衫 你不变的万能选择\",\"x\":\"53\",\"y\":\"69\",\"anchor\":\"衬衫\",\"$$hashKey\":\"object:12847\"}],\"$$hashKey\":\"object:666\"}]","contentCategory":null,"likeQuantity":0,"likeStatus":0,"contentStatus":1,"template":"1","favoriteCount":0,"favorite":0,"detailUrl":"http://app4tv.sudaotech.com/mobile/contentDetail.html?id=15448","productCount":5}]
     */

    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private int offset;
        private int limit;
        private int total;
        private String sortField;
        private String sortOrder;
        /**
         * contentId : 15448
         * title : 夏天就该这么穿，仙女高街范儿！
         * summary : 美到哭的仙气
         * imageUrl : http://app4tv.sudaotech.com/platform/image/1/20160727/589fe4bd-5c84-4f6c-a1d2-c23f5de86e35/
         * videoUrl : null
         * body : [{"type":"image","imageUrl":"http://app4tv.sudaotech.com/platform/image/1/20160725/90aee2d1-b9f3-4926-b573-c497c10537a4/","displayOrder":0,"products":[{"productId":15694,"productName":"每个女生都有一个公主梦 城堡印花T恤满足你的公主心","x":"54","y":"34","anchor":"T恤","$$hashKey":"object:12352"},{"productId":15671,"productName":"一年四季都可穿 一件线衫打天下","x":"73","y":"67","anchor":"线衫","$$hashKey":"object:12518"},{"productId":15649,"productName":"刺绣牛仔裤 低调的奢华","x":"79","y":"84","anchor":"牛仔裤","$$hashKey":"object:12681"},{"productId":15673,"productName":"纯色衬衫 你不变的万能选择","x":"53","y":"69","anchor":"衬衫","$$hashKey":"object:12847"}],"$$hashKey":"object:666"}]
         * contentCategory : null
         * likeQuantity : 0
         * likeStatus : 0
         * contentStatus : 1
         * template : 1
         * favoriteCount : 0
         * favorite : 0
         * detailUrl : http://app4tv.sudaotech.com/mobile/contentDetail.html?id=15448
         * productCount : 5
         */

        private List<ItemsBean> items;

        public int getOffset() {
            return offset;
        }

        public void setOffset(int offset) {
            this.offset = offset;
        }

        public int getLimit() {
            return limit;
        }

        public void setLimit(int limit) {
            this.limit = limit;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public String getSortField() {
            return sortField;
        }

        public void setSortField(String sortField) {
            this.sortField = sortField;
        }

        public String getSortOrder() {
            return sortOrder;
        }

        public void setSortOrder(String sortOrder) {
            this.sortOrder = sortOrder;
        }

        public List<ItemsBean> getItems() {
            return items;
        }

        public void setItems(List<ItemsBean> items) {
            this.items = items;
        }

        public static class ItemsBean {
            private int contentId;
            private String title;
            private String summary;
            private String imageUrl;
            private Object videoUrl;
            private String body;
            private Object contentCategory;
            private int likeQuantity;
            private int likeStatus;
            private int contentStatus;
            private String template;
            private int favoriteCount;
            private int favorite;
            private String detailUrl;
            private int productCount;

            public int getContentId() {
                return contentId;
            }

            public void setContentId(int contentId) {
                this.contentId = contentId;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getSummary() {
                return summary;
            }

            public void setSummary(String summary) {
                this.summary = summary;
            }

            public String getImageUrl() {
                return imageUrl;
            }

            public void setImageUrl(String imageUrl) {
                this.imageUrl = imageUrl;
            }

            public Object getVideoUrl() {
                return videoUrl;
            }

            public void setVideoUrl(Object videoUrl) {
                this.videoUrl = videoUrl;
            }

            public String getBody() {
                return body;
            }

            public void setBody(String body) {
                this.body = body;
            }

            public Object getContentCategory() {
                return contentCategory;
            }

            public void setContentCategory(Object contentCategory) {
                this.contentCategory = contentCategory;
            }

            public int getLikeQuantity() {
                return likeQuantity;
            }

            public void setLikeQuantity(int likeQuantity) {
                this.likeQuantity = likeQuantity;
            }

            public int getLikeStatus() {
                return likeStatus;
            }

            public void setLikeStatus(int likeStatus) {
                this.likeStatus = likeStatus;
            }

            public int getContentStatus() {
                return contentStatus;
            }

            public void setContentStatus(int contentStatus) {
                this.contentStatus = contentStatus;
            }

            public String getTemplate() {
                return template;
            }

            public void setTemplate(String template) {
                this.template = template;
            }

            public int getFavoriteCount() {
                return favoriteCount;
            }

            public void setFavoriteCount(int favoriteCount) {
                this.favoriteCount = favoriteCount;
            }

            public int getFavorite() {
                return favorite;
            }

            public void setFavorite(int favorite) {
                this.favorite = favorite;
            }

            public String getDetailUrl() {
                return detailUrl;
            }

            public void setDetailUrl(String detailUrl) {
                this.detailUrl = detailUrl;
            }

            public int getProductCount() {
                return productCount;
            }

            public void setProductCount(int productCount) {
                this.productCount = productCount;
            }
        }
    }
}
